#ifndef __I2C_COMU_H
#define __I2C_COMU_H
#include <stdint.h>

#define I2C0_SLAVE_ADDRESS7 0x70
#define I2C1_SLAVE_ADDRESS7 0x71
#define I2C2_SLAVE_ADDRESS7 0x72



void I2C_Init(uint32_t I2Cx);
void I2C_RCU_Init(uint32_t I2Cx);
void I2C_gpio_Init(uint32_t I2Cx);
void I2C_GPIO_Configuration(uint32_t I2Cx);


int8_t I2C_Master_Recv_Word(uint32_t I2Cx,uint8_t address7, uint8_t* recvBuffer);

#endif
